﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace eDream
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            String k=Session.SessionID;
            String ip = GetUserIP();
        }
        private string GetUserIP()
        {
          return  Dns.GetHostEntry(System.Net.Dns.GetHostName()).AddressList.GetValue(0).ToString();
        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            
        }
    }
}